import request from '@/utils/request'
// import store from '@/store'

/*
* 登录
*/
export const login = data => {
  return request({
    method: 'POST',
    url: 'login',
    data
  })
}

/*
* 修改用户信息
*/
export const updateUserProfile = data => {
  return request({
    method: 'PUT',
    url: '/user',
    data
  })
}
